@import "src/common/styles/base";

.order-detail-page {
  .status-con {
    height: 94px;
    line-height: 94px;
    padding-left: 30px;
    font-size: 32px;
    font-weight: 600;
    color: rgba(75, 204, 155, 1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);
  }

  .dispatch-info {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 68px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 7px 20px 0px rgba(0, 0, 0, 0.08);

    .icon {
      width: 33px;
      height: 37px;
      display: block;
      margin-right: 47px;
    }

    .info {
      flex: 1;
      overflow: hidden;

      .info-it {
        font-size: 24px;
        font-weight: 500;
        color: rgba(67, 67, 67, 1);
        letter-spacing: 1px;
      }

      .name {
        font-size: 30px;
        font-weight: 500;
        color: rgba(67, 67, 67, 1);
        line-height: 42px;
      }

      .phone,
      .identification {
        font-size: 24px;
        font-weight: 400;
        color: rgba(67, 67, 67, 1);
        line-height: 33px;
        letter-spacing: 1px;
        margin-top: 5px;
        display: flex;
        align-items: center;

        image {
          width: 20px;
        }

        text {
          margin-right: 10px;
          display: flex;
          align-items: center;


        }
      }
    }

    .right-icon {
      width: 10px;
      height: 19px;
      display: block;
    }
  }

  .order-info {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);
    margin-top: 20px;
    padding: 30px 0 30px 30px;

    &.lr {
      .order-info-it {
        justify-content: space-between;
        padding-right: 25px;
      }
    }

    .sub-title {
      font-size: 32px;
      font-weight: 600;
      color: rgba(51, 51, 51, 1);
      line-height: 45px;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;

      text {
        &:last-child {
          color: $base-color;
          font-size: 24px;
          padding-right: 25px;
        }
      }
    }

    .order-info-it {
      display: flex;
      padding-left: 24px;
      align-items: center;
      margin-top: 20px;

      .label {
        width: 158px;
        font-size: 30px;
        font-weight: 500;
        color: rgba(67, 67, 67, 1);
        line-height: 42px;
      }

      .value {
        font-size: 28px;
        font-weight: 400;
        color: rgba(153, 153, 153, 1);
        line-height: 40px;
      }

      .tag {
        width: 96px;
        height: 44px;
        background: rgba(238, 238, 238, 1);
        border-radius: 28px;
        font-size: 24px;
        font-weight: 400;
        color: rgba(51, 51, 51, 1);
        line-height: 33px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 40px;
      }
    }
  }

  .pay-info-card {
    margin-top: 20px;
    padding: 15px 25px 20px 30px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);

    .title {
      font-size: 32px;
      font-weight: 600;
      color: rgba(51, 51, 51, 1);
      line-height: 45px;
    }

    .goods-item {
      padding-left: 0;
      padding-right: 0;
      background: #ffffff;
      box-shadow: none;
    }

    .info-it {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 20px;
      padding-left: 24px;

      .label {
        font-size: 30px;
        font-weight: 500;
        color: rgba(67, 67, 67, 1);
        line-height: 42px;
      }

      .value {
        font-size: 28px;
        font-weight: 400;
        color: rgba(51, 51, 51, 1);
        line-height: 40px;
      }
    }
  }

  .info-card {
    margin-top: 20px;
    padding: 15px 25px 20px 30px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);

    .title {
      font-size: 32px;
      font-weight: 600;
      color: rgba(51, 51, 51, 1);
      line-height: 45px;
    }

    .goods-item {
      padding-left: 0;
      padding-right: 0;
      background: #ffffff;
      box-shadow: none;
      margin-top: 19px;
      margin-bottom: 19px;
      height: auto;
    }

    .cate-info {
      font-size: 24px;
      font-weight: 400;
      color: rgba(153, 153, 153, 1);
      line-height: 33px;
      margin-bottom: 30px;

      text:first-child {
        margin-right: 20px;
      }
    }

    .btn {
      margin-bottom: 10px;
      margin-left: 535px;
      width: 160px;
      height: 55px;
      background: rgba(255, 255, 255, 1);
      border-radius: 28px;
      border: 1px solid rgba(76, 202, 121, 1);
      font-size: 24px;
      font-weight: 600;
      color: rgba(67, 197, 144, 1);
      line-height: 33px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .amount-info {
      .item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 20px;

        .label {
          font-size: 30px;
          font-weight: 400;
          color: #333333;
        }

        .value {
          font-size: 28px;
          font-weight: 600;
          color: #333333;
        }
      }

      &:last-child {
        margin-top: 48px;

        .value {
          .gray {
            color: #999999;
            font-size: 24px;
          }

          .actul {
            color: #333333;

            text {
              font-size: 24px;

            }

            .num {
              font-size: 36px;
            }
          }
        }
      }
    }
  }

  .footer-content {
    height: 99px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    padding-bottom: env(safe-area-inset-bottom);
    position: fixed;
    bottom: 0;
    width: 690px;

    .l {
      display: flex;
      align-items: center;
      padding-left: 50px;

      .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 20px;

        .icon {
          width: 30px;
          height: 30px;
          display: block;
          margin-bottom: 6px;
        }

        text {
          font-size: 24px;
          font-weight: 400;
          color: rgba(153, 153, 153, 1);
          line-height: 33px;
          letter-spacing: 1px;
        }
      }
    }

    .r {
      .button {
        width: 220px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 1);
        border-radius: 28px;
        font-size: 24px;
        font-weight: 600;
        color: rgba(67, 197, 144, 1);
        border: 1px solid rgba(76, 202, 121, 1);
      }
    }
  }

  .blank {
    height: 150px;
  }
}
